Skip to content

feat(ai): add Requesty memory provider preset - #550

Merged
EyJunge1 merged 4 commits into
mainfrom
pr/544-requesty-provider
Dec 5, 2026
Merged

EyJunge1 merged 4 commits into
mainfrom
pr/544-requesty-provider

Conversation

@EyJunge1

@EyJunge1 EyJunge1 commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Supersedes #544 (fork push from maintainers is blocked on the org-owned head repo). Same Requesty preset work, rebased onto current main, plus small comment cleanup.

Adds a requesty memory provider preset, registered the same way as Morse and WorldRouter: an entry in src/ai/memory-provider-presets.ts on top of the shared PresetOpenAIChatProvider, with no new provider class.

  • memoryProvider: "requesty": endpoint defaults to https://router.requesty.ai/v1, model defaults to openai/gpt-4o-mini, and REQUESTY_API_KEY is used when memoryApiKey is omitted
  • EU users can point memoryApiUrl at https://router.eu.requesty.ai/v1
  • Docs: README and the six i18n READMEs, opencode-mem.example.jsonc, config template comments
  • Tests: key-only and env resolution cases, same as the other presets

Credit: original PR by @Thibaultjaigu in #544 (disclosure: author works at Requesty).

Test plan

  • bun test tests/ai/ai-provider-config.test.ts tests/shared/config-resolution.test.ts
  • bun run check
  • CI green on this branch

Checklist

  • Branch is based on main
  • Touched tests pass
  • bun run check passes
  • Docs / README updated

@EyJunge1
EyJunge1 marked this pull request as ready for review December 5, 2026 20:48
@EyJunge1
EyJunge1 merged commit 3a6795a into main Dec 5, 2026
7 checks passed
@EyJunge1 EyJunge1 mentioned this pull request Dec 5, 2026
6 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants